#!/bin/sh
BASE=http://lib.rus.ec/sql/

mkdir -p bases
cd bases

#for f in bwlist.zip librusec.zip lib.libactions.sql.gz lib.libavtoraliase.sql.gz lib.libavtorname.sql.gz lib.libavtor.sql.gz lib.libblocked.sql.gz lib.libbook.old.sql.gz lib.libbook.sql.gz lib.libdonations.sql.gz lib.libfilename.sql.gz lib.libgenrelist.sql.gz lib.libgenre.sql.gz lib.libjoinedbooks.sql.gz lib.libpolka.sql.gz lib.libseqname.sql.gz lib.libseq.sql.gz lib.libsrclang.sql.gz lib.libtranslator.sql.gz; do
for f in libjoinedbooks.sql libbook.sql; do
    rm -f $f
    wget http://lib.rus.ec/sql/$f.gz
    gunzip $f
done;
